﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B1B RID: 2843
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MGGJKPGEGLP : IMessage<MGGJKPGEGLP>, IMessage, IEquatable<MGGJKPGEGLP>, IDeepCloneable<MGGJKPGEGLP>, IBufferMessage
	{
		// Token: 0x170023EA RID: 9194
		// (get) Token: 0x06007F43 RID: 32579 RVA: 0x00153D24 File Offset: 0x00151F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MGGJKPGEGLP> Parser
		{
			get
			{
				return MGGJKPGEGLP._parser;
			}
		}

		// Token: 0x170023EB RID: 9195
		// (get) Token: 0x06007F44 RID: 32580 RVA: 0x00153D2B File Offset: 0x00151F2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MGGJKPGEGLPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170023EC RID: 9196
		// (get) Token: 0x06007F45 RID: 32581 RVA: 0x00153D3D File Offset: 0x00151F3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MGGJKPGEGLP.Descriptor;
			}
		}

		// Token: 0x06007F46 RID: 32582 RVA: 0x00153D44 File Offset: 0x00151F44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGGJKPGEGLP()
		{
		}

		// Token: 0x06007F47 RID: 32583 RVA: 0x00153D57 File Offset: 0x00151F57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGGJKPGEGLP(MGGJKPGEGLP other) : this()
		{
			this.buffList_ = other.buffList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007F48 RID: 32584 RVA: 0x00153D81 File Offset: 0x00151F81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGGJKPGEGLP Clone()
		{
			return new MGGJKPGEGLP(this);
		}

		// Token: 0x170023ED RID: 9197
		// (get) Token: 0x06007F49 RID: 32585 RVA: 0x00153D89 File Offset: 0x00151F89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MIFEPBDNGGC> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x06007F4A RID: 32586 RVA: 0x00153D91 File Offset: 0x00151F91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MGGJKPGEGLP);
		}

		// Token: 0x06007F4B RID: 32587 RVA: 0x00153D9F File Offset: 0x00151F9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MGGJKPGEGLP other)
		{
			return other != null && (other == this || (this.buffList_.Equals(other.buffList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007F4C RID: 32588 RVA: 0x00153DD4 File Offset: 0x00151FD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.buffList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007F4D RID: 32589 RVA: 0x00153E08 File Offset: 0x00152008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007F4E RID: 32590 RVA: 0x00153E10 File Offset: 0x00152010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007F4F RID: 32591 RVA: 0x00153E19 File Offset: 0x00152019
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.buffList_.WriteTo(ref output, MGGJKPGEGLP._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007F50 RID: 32592 RVA: 0x00153E40 File Offset: 0x00152040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.buffList_.CalculateSize(MGGJKPGEGLP._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007F51 RID: 32593 RVA: 0x00153E79 File Offset: 0x00152079
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MGGJKPGEGLP other)
		{
			if (other == null)
			{
				return;
			}
			this.buffList_.Add(other.buffList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007F52 RID: 32594 RVA: 0x00153EA7 File Offset: 0x001520A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007F53 RID: 32595 RVA: 0x00153EB0 File Offset: 0x001520B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.buffList_.AddEntriesFrom(ref input, MGGJKPGEGLP._repeated_buffList_codec);
				}
			}
		}

		// Token: 0x040030B6 RID: 12470
		private static readonly MessageParser<MGGJKPGEGLP> _parser = new MessageParser<MGGJKPGEGLP>(() => new MGGJKPGEGLP());

		// Token: 0x040030B7 RID: 12471
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030B8 RID: 12472
		public const int BuffListFieldNumber = 13;

		// Token: 0x040030B9 RID: 12473
		private static readonly FieldCodec<MIFEPBDNGGC> _repeated_buffList_codec = FieldCodec.ForMessage<MIFEPBDNGGC>(106U, MIFEPBDNGGC.Parser);

		// Token: 0x040030BA RID: 12474
		private readonly RepeatedField<MIFEPBDNGGC> buffList_ = new RepeatedField<MIFEPBDNGGC>();
	}
}
